/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.scene.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.List;

@ApiModel(value = "危险作业与安全措施项关系", description = "危险作业与安全措施关系实体类")
public class SafetyMeasure {
    @ApiModelProperty(name = "id", value = "id", dataType = "String")
    private String id;

    @ApiModelProperty(name = "dangerousOperationId", value = "危险作业id", dataType = "String")
    private String dangerousOperationId;

    @ApiModelProperty(name = "dangerousOperationId", value = "安全措施项id", dataType = "String")
    private String safetyMeasureId;

    @ApiModelProperty(name = "operationCategory", value = "作业分类(1_管网，2_机司，3_物流中心，4_其他)" )
    private Integer operationCategory;

    @ApiModelProperty(name = "operationCategoryName", value = "作业分类名称" )
    private String operationCategoryName;

    @ApiModelProperty(name = "operationTicketType", value = "作业票类型（1临时用电作业，2有限空间作业，3起重吊装作业，4动火作业，5破土作业，6高空作业，7抽堵盲板作业，8设备检修作业，9断路安全作业，10专项作业车吊装作业）" )
    private Integer operationTicketType;

    @ApiModelProperty(name = "operationTicketTypeName", value = "作业票类型名称" )
    private String operationTicketTypeName;

    @ApiModelProperty(name = "sortNo", value = "序号" )
    private Integer sortNo;

    @ApiModelProperty(name = "safetyMeasureItem", value = "安全措施项" )
    private String safetyMeasureItem;

    @ApiModelProperty(name = "confirmStauts", value = "确认状态，0-未确认，1-已确认，2-无此项",required = false)
    private Integer confirmStauts;

    @ApiModelProperty(name = "editStatus", value = "编辑状态，false-不可编辑，true-可编辑",required = false)
    private Boolean editStatus;

    @ApiModelProperty(name = "files", value = "附件" )
    private List<MultipartFile> files;

    @ApiModelProperty(name = "attachment", value = "附件地址" )
    private String attachment;

    @ApiModelProperty(name = "previewAttachment", value = "附件预览地址" )
    private String previewAttachment;

    @ApiModelProperty(name = "keepFiles", value = "保留的附件地址" )
    private String keepFiles;

    @ApiModelProperty(name = "delFiles", value = "删除的附件地址" )
    private String delFiles;

    @ApiModelProperty(name = "keepList", value = "附件地址集合" )
    private List<String> keepList = new ArrayList<>();

    @ApiModelProperty(name = "keepPreviewFiles", value = "保留的预览地址" )
    private String keepPreviewFiles;

    @ApiModelProperty(name = "delPreviewFiles", value = "删除的预览地址" )
    private String delPreviewFiles;

    @ApiModelProperty(name = "keepPreviewList", value = "附件预览地址集合" )
    private List<String> keepPreviewList= new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSafetyMeasureId() {
        return safetyMeasureId;
    }

    public void setSafetyMeasureId(String safetyMeasureId) {
        this.safetyMeasureId = safetyMeasureId;
    }

    public String getDangerousOperationId() {
        return dangerousOperationId;
    }

    public void setDangerousOperationId(String dangerousOperationId) {
        this.dangerousOperationId = dangerousOperationId;
    }

    public Integer getOperationCategory() {
        return operationCategory;
    }

    public void setOperationCategory(Integer operationCategory) {
        this.operationCategory = operationCategory;
    }

    public String getOperationCategoryName() {
        return operationCategoryName;
    }

    public void setOperationCategoryName(String operationCategoryName) {
        this.operationCategoryName = operationCategoryName;
    }

    public Integer getOperationTicketType() {
        return operationTicketType;
    }

    public void setOperationTicketType(Integer operationTicketType) {
        this.operationTicketType = operationTicketType;
    }

    public String getOperationTicketTypeName() {
        return operationTicketTypeName;
    }

    public void setOperationTicketTypeName(String operationTicketTypeName) {
        this.operationTicketTypeName = operationTicketTypeName;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getSafetyMeasureItem() {
        return safetyMeasureItem;
    }

    public void setSafetyMeasureItem(String safetyMeasureItem) {
        this.safetyMeasureItem = safetyMeasureItem;
    }

    public Integer getConfirmStauts() {
        return confirmStauts;
    }

    public void setConfirmStauts(Integer confirmStauts) {
        this.confirmStauts = confirmStauts;
    }

    public Boolean getEditStatus() {
        return editStatus;
    }

    public void setEditStatus(Boolean editStatus) {
        this.editStatus = editStatus;
    }

    public List<MultipartFile> getFiles() {
        return files;
    }

    public void setFiles(List<MultipartFile> files) {
        this.files = files;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getPreviewAttachment() {
        return previewAttachment;
    }

    public void setPreviewAttachment(String previewAttachment) {
        this.previewAttachment = previewAttachment;
    }

    public String getKeepFiles() {
        return keepFiles;
    }

    public void setKeepFiles(String keepFiles) {
        this.keepFiles = keepFiles;
    }

    public String getDelFiles() {
        return delFiles;
    }

    public void setDelFiles(String delFiles) {
        this.delFiles = delFiles;
    }

    public List<String> getKeepList() {
        return keepList;
    }

    public void setKeepList(List<String> keepList) {
        this.keepList = keepList;
    }

    public String getKeepPreviewFiles() {
        return keepPreviewFiles;
    }

    public void setKeepPreviewFiles(String keepPreviewFiles) {
        this.keepPreviewFiles = keepPreviewFiles;
    }

    public String getDelPreviewFiles() {
        return delPreviewFiles;
    }

    public void setDelPreviewFiles(String delPreviewFiles) {
        this.delPreviewFiles = delPreviewFiles;
    }

    public List<String> getKeepPreviewList() {
        return keepPreviewList;
    }

    public void setKeepPreviewList(List<String> keepPreviewList) {
        this.keepPreviewList = keepPreviewList;
    }
}
